home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / AECUR100.ARJ / TEST.C < prev    next >
C/C++ Source or Header  |  1991-11-05  |  345b  |  24 lines

  1. #include    "aedef.h"
  2.  
  3. #include    "curses.h"
  4.  
  5. int main(void)
  6. {
  7.     char    buf[ 100 ];
  8.     WINDOW  *w;
  9.  
  10.     initscr();
  11.     w = newwin(10, 50, 10, 10);    
  12.     
  13.     waddstr(w, "Hello, world\n");
  14.     wrefresh(w);
  15.     wgetstr(w, buf);
  16.     waddstr(w, buf);
  17.     wrefresh(w);
  18.  
  19.     wgetch(w);
  20.     
  21.     endwin();
  22.     return 0;
  23. }
  24.